SCSetInfo
TheSCSetInfo
function allows you to modify the standard dialog component's configuration information.
pascal ComponentResult SCSetInfo (ComponentInstance ci, OSType type, void *info);
ci
- Identifies your application's connection to a standard image-compression dialog component.
type
- Specifies the type of information you want to modify. The following values are valid:
scSpatialSettingsType
- Modifies the component's spatial compression parameters.
scTemporalSettingsType
- Modifies the component's temporal compression parameters.
scDataRateSettingsType
- Modifies the component's compression data rate.
scColorTableType
Modifies the component's color table.scProgressProcType
- Modifies the component's progress function.
scExtendedProcsType
- Allows you to extend the standard dialog box.
scPreferenceFlagsType
- Modifies the component's preference flags settings.
scSettingsStateType
- Configures the component, based on a saved configuration.
scWindowPositionType
- Positions the standard dialog box.
scCodecFlagsType
Modifies the component's image-compression control flags.info
- Contains a pointer to a field that contains the new configuration information.
DESCRIPTION
You use thetype
parameter to specify the type of information you want to modify. Theinfo
parameter contains a pointer to a location that contains the new information (see "Request Types" beginning on page 3-15 for information about the format of the data you must supply for each request type). If the component cannot satisfy your request, it returns a result code ofscTypeNotFoundErr
.RESULT CODE
scTypeNotFoundErr -8971 Component does not have the information you want
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help